package com.vhall.component.dao.pendant;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.vhall.component.entity.pendant.PendantEntity;
import com.vhall.component.entity.pendant.PendantMappingEntity;
import com.vhall.component.entity.pendant.vo.PendantListPushPendantReqVO;
import com.vhall.component.entity.pendant.vo.PendantListReqVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author vhall
 * @description 针对表【pendant_mapping(挂件关联表)】的数据库操作Mapper
 * @createDate 2023-05-06 14:18:34
 * @Entity com.vhall.component.entity.pendant.PendantMapping
 */
@Mapper
@Repository
public interface PendantMappingMapper extends BaseMapper<PendantMappingEntity> {

    Page<PendantEntity> selectInfoPage(@Param("page") Page page, @Param("reqVO") PendantListPushPendantReqVO reqVO);

    /**
     * 查询绑定挂件列表
     */
    List<PendantEntity> bindingList(@Param("reqVO") PendantListReqVO reqVO);

}




